﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
using SQLite.CodeFirst;

namespace WeManageService
{
    public class Turnover
    {
        public int TurnoverID { get; set; }
        public int ScoreChange { get; set; }
        public DateTime Time { get; set; }
        public string Reason { get; set; }
        public string UserName { get; set; }

        public Turnover() { }
        public Turnover(int score,DateTime time,string reason,string username)
        {
            ScoreChange = score;
            Time = time;
            Reason = reason;
            UserName = username;
        }
    }
}
